package com.domain;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.util.List;

/**
 * @Author: 喻晓涵
 * @CreateTime: 2025-08-05
 * @Description:
 * @Version: 1.0
 */
@Data
public class AiPortAnswerList implements java.io.Serializable{
    // 一个问题
    @JsonProperty("question")
    Question question;
    // 该问题的答案集合
    @JsonProperty("answerList")
    List<Answer> answerList;
    //生成getset方法

    public Question getQuestion() {
        return question;
    }

    public void setQuestion(Question question) {
        this.question = question;
    }

    public List<Answer> getAnswerList() {
        return answerList;
    }

    public void setAnswerList(List<Answer> answerList) {
        this.answerList = answerList;
    }

    //toString方法
    @Override
    public String toString() {
        return "AiPortAnswerList{" +
                "question=" + question +
                ", answerList=" + answerList +
                '}';
    }
}
